import axios from '@/http'

export default {
    getData() {
        return axios.get("categories")
    },

    tabClick(id,cid) {
        return axios.get(`categories/${id}/attributes`,cid)
    },

    addShop() {
        return axios.post("goods", id)
    }
}